<?xml version="1.0" encoding="UTF-8" ?>
<?oracle-xsl-mapper
  <!-- SPECIFICATION OF MAP SOURCES AND TARGETS, DO NOT MODIFY. -->
  <mapSources>
    <source type="WSDL">
      <schema location="../UB_POLL_LOCATION_INFO.wsdl"/>
      <rootElement name="XxsaisLocationsInfoVCollection" namespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/UB_POLL_LOCATION_INFO"/>
    </source>
  </mapSources>
  <mapTargets>
    <target type="WSDL">
      <schema location="http://morojwa.ub.bw:7001/PSIGW/PeopleSoftServiceListeningConnector/UB_LOCATION.1.wsdl"/>
      <rootElement name="UB_LOCATION" namespace="http://xmlns.oracle.com/Enterprise/CSM/schemas/UB_LOCATION.V1"/>
    </target>
  </mapTargets>
  <!-- GENERATED BY ORACLE XSL MAPPER 11.1.1.7.0(build 130301.0647.0008) AT [WED FEB 12 14:31:38 CAT 2014]. -->
?>
<xsl:stylesheet version="1.0"
                xmlns:UB_LOCATION.V1="http://xmlns.oracle.com/Enterprise/CSM/schemas/UB_LOCATION.V1"
                xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
                xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
                xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                xmlns:ns0="http://xmlns.oracle.com/Enterprise/CSM/services"
                xmlns:bpm="http://xmlns.oracle.com/bpmn20/extensions"
                xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
                xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
                xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
                xmlns:ora="http://schemas.oracle.com/xpath/extension"
                xmlns:socket="http://www.oracle.com/XSL/Transform/java/oracle.tip.adapter.socket.ProtocolTranslator"
                xmlns:mhdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.mediator.service.common.functions.MediatorExtnFunction"
                xmlns:oraext="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
                xmlns:dvm="http://www.oracle.com/XSL/Transform/java/oracle.tip.dvm.LookupValue"
                xmlns:top="http://xmlns.oracle.com/pcbpel/adapter/db/top/UB_POLL_LOCATION_INFO"
                xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
                xmlns:med="http://schemas.oracle.com/mediator/xpath"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/db/ESM/LOCATION_INTEGRATION/UB_POLL_LOCATION_INFO"
                xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
                xmlns:xdk="http://schemas.oracle.com/bpel/extension/xpath/function/xdk"
                xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
                xmlns:wsp="http://schemas.xmlsoap.org/ws/2002/12/policy"
                xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                xmlns:ns1="http://xmlns.oracle.com/Enterprise/CSM/schemas/UB_LOCATION_PART.V1"
                xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
                exclude-result-prefixes="xsi xsl plt wsdl top tns xsd UB_LOCATION.V1 ns0 soap wsp ns1 xp20 bpws bpel bpm ora socket mhdr oraext dvm hwf med ids xdk xref ldap">
  <xsl:template match="/">
    <UB_LOCATION.V1:UB_LOCATION>
      <UB_LOCATION.V1:UB_LOCATION_PART>
        <ns1:LOCATION_TBL>
          <xsl:attribute name="class">
            <xsl:text disable-output-escaping="no">R</xsl:text>
          </xsl:attribute>
          <ns1:SETID>
            <xsl:text disable-output-escaping="no">U0001</xsl:text>
          </ns1:SETID>
          <ns1:LOCATION>
            <xsl:value-of select="/top:XxsaisLocationsInfoVCollection/top:XxsaisLocationsInfoV/top:locationCode"/>
          </ns1:LOCATION>
          <ns1:EFFDT>
            <xsl:value-of select='xp20:format-dateTime(/top:XxsaisLocationsInfoVCollection/top:XxsaisLocationsInfoV/top:effectiveDate,"[Y0001]-[M01]-[D01]")'/>
          </ns1:EFFDT>
          <ns1:EFF_STATUS>
            <xsl:value-of select="/top:XxsaisLocationsInfoVCollection/top:XxsaisLocationsInfoV/top:status"/>
          </ns1:EFF_STATUS>
          <ns1:DESCR>
            <xsl:value-of select="substring(/top:XxsaisLocationsInfoVCollection/top:XxsaisLocationsInfoV/top:description,1.0,30)"/>
          </ns1:DESCR>
          <ns1:BUILDING>
            <xsl:text disable-output-escaping="no"></xsl:text>
          </ns1:BUILDING>
          <ns1:FLOOR>
            <xsl:text disable-output-escaping="no"></xsl:text>
          </ns1:FLOOR>
          <ns1:CITY>
            <xsl:text disable-output-escaping="no"></xsl:text>
          </ns1:CITY>
        </ns1:LOCATION_TBL>
      </UB_LOCATION.V1:UB_LOCATION_PART>
    </UB_LOCATION.V1:UB_LOCATION>
  </xsl:template>
</xsl:stylesheet>
